import '@/utils/console'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'

import {
  NavBar
  ,
  Form
  ,
  Field
  ,
  Button
  ,
  Notify
  ,
  Tabbar,
  TabbarItem,
  Icon
  ,
  Tab,
  Tabs
  ,
  Cell
  ,
  List
  ,
  PullRefresh
  ,
  ActionSheet
  ,
  Popup,
  Row,
  Col,
  Badge,
  Search
  ,
  Image as VanImage
  ,
  Divider
  ,
  Toast
  ,
  ShareSheet
  ,
  Tag,
  CellGroup
  ,
  Dialog
  ,
  DatetimePicker
  ,
  Loading
  ,
  Lazyload
} from 'vant'

Vue.use(Lazyload)

Vue.use(Loading)

Vue.use(DatetimePicker)

Vue.use(CellGroup)
Vue.use(Tag)

Vue.use(Dialog)

Vue.use(ShareSheet)
Vue.use(Toast)
Vue.use(VanImage)
Vue.use(Divider)

Vue.use(List)
Vue.use(Search)

Vue.use(Row)
Vue.use(Col)
Vue.use(Badge)

Vue.use(Popup)

Vue.use(ActionSheet)
Vue.use(PullRefresh)

Vue.use(Cell)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Tabbar)
Vue.use(Icon)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Button)
Vue.use(Notify)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
